using System;

namespace Domain
{
    public class Alert
    {
        public Alert(string message)
        {
            Message = message;
        }

        public Alert(string format, params object[] args) : this(string.Format(format, args))
        {
        }

        public Order Order { get; set; }
        public string Message { get; set; }
        public void Send()
        {
            Console.WriteLine("!!! {0}:\t{1} !!!\n", DateTime.Now, Message);
        }
    }
}